package edu.zut.cs.software.module.billManagement.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import edu.zut.cs.software.teach.Base.domain.BaseEntity;

@Entity
@Table(name = "T_BillManagements")
/**
 * 
 * @author yuki
 *
 */
public class BillManagementCategory extends BaseEntity<Long> {

	private static final long serialVersionUID = -2411978175041541798L;

	@Column
	String bill;
	@Column
	Long id;
	@Column
	Long billid;
	
	@ManyToOne
	@JoinColumn(name = "T_BillManagementCategory_ID")
	BillManagementCategory billManagementCategory;
	


	public BillManagementCategory getBillManagementCategory() {
		return billManagementCategory;
	}

	public void setBillManagementCategory(BillManagementCategory billManagementCategory) {
		this.billManagementCategory = billManagementCategory;
	}

	public Long getBillid() {
		return billid;
	}

	public void setBillid(Long billid) {
		this.billid = billid;
	}

	public String getBill() {
		return bill;
	}

	public void setBill(String bill) {
		this.bill = bill;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	
}
